# -*- coding:utf-8 -*-
# @Time :2021/11/2 23:53
# @Author : Martin
import os

import pytest

if __name__ == '__main__':
    # time_str = time.strftime("%Y%m%d%H%M%S", time.localtime())
    # pytest.main(['-s', '-v', '--alluredir', './result/{}'.format(time_str)])
    pytest.main(['-s', '-v', 'test_demo', '--alluredir',
                 './allure/result', '--clean-alluredir','--browser=chrome-grid'])
    # ,'--browser=chrome-debug'
    os.system('allure generate ./allure/result -o ./allure/report --clean')

